package com.ruoyi.core.mapper;

import com.ruoyi.core.domain.ServerConfig;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ServerConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ServerConfig record);

    int insertOrUpdate(ServerConfig record);

    int insertOrUpdateSelective(ServerConfig record);

    int insertSelective(ServerConfig record);

    ServerConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ServerConfig record);

    int updateByPrimaryKey(ServerConfig record);

    int updateBatch(List<ServerConfig> list);

    int updateBatchSelective(List<ServerConfig> list);

    int batchInsert(@Param("list") List<ServerConfig> list);

    List<ServerConfig> selectAllList();

    void updateAllDisabled();

    ServerConfig selectAvailableNode();

}